to_delete=$(docker images | grep scheduler-framework-sample | awk -F ' ' '{print $1":"$2}')

for i in ${to_delete};
do
    echo To delete docker image: ${i}
    docker rmi ${i}
done